{# 客服系统 #}
<script>
  // proxy click
  document.addEventListener("DOMContentLoaded", function() {
    $('.chat').on('click', function (evt) {
      evt.preventDefault();
      evt.stopPropagation();
      _MEIQIA('showPanel');
    })
  });
</script>
{# https://meiqia.com/docs/meiqia-js-sdk# - 美洽 JSSDK 使用文档 #}
<script type='text/javascript'>
  (function(m, ei, q, i, a, j, s) {
    m[i] = m[i] || function() {
      (m[i].a = m[i].a || []).push(arguments)
    };
    j = ei.createElement(q),
      s = ei.getElementsByTagName(q)[0];
    j.async = true;
    j.charset = 'UTF-8';
    j.src = 'https://static.meiqia.com/dist/meiqia.js?_=t';
    s.parentNode.insertBefore(j, s);
  })(window, document, 'script', '_MEIQIA');
  _MEIQIA('entId', 40406);
  _MEIQIA('withoutBtn'); // hide btn
  // 设置 clientId
  // _MEIQIA('clientId', 'customer_id_hash');
</script>